<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <script type="text/javascript" src="/deng/include/include-css.js"></script>
    <script type="text/javascript" src="/deng/include/inplug-css.js"></script>
    <link href="/deng/source/css/bootlist.css" rel="stylesheet" type="text/css" />
    <title>管理员设置</title>
    <style>
        .modal-lg {
            max-width: 60%;
            width: 60%;
            max-width: none;
        }
    </style>
</head>
<body>
<div class="m-content jehc-content-1">
    <div class="m-portlet">
        <div class="m-portlet__head">
            <div class="m-portlet__head-caption">
                <div class="m-portlet__head-title">
                    <h3 class="m-portlet__head-text">
                        <span class="m-accordion__item-icon"><i class="flaticon-avatar"></i>设置管理员</span>
                    </h3>
                </div>
            </div>
        </div>
        <form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" method="POST" id="searchForm">
            <div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
                <div class="m-form__actions m-form__actions--solid">
                    <div class="row">
                        <div class="col m--align-left">
                            <!--
                            <a class="btn btn-info m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;bolder m-btn&#45;&#45;uppercase" href="javascript:addAdmin()">
                                <span><i class="flaticon-add-circular-button"></i><span>设置管理员</span></span>
                            </a>
                            <a class="btn btn-accent m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;bolder m-btn&#45;&#45;uppercase" href="javascript:expandTree()">
                                <span><i class="flaticon-arrows"></i><span>展 开</span></span>
                            </a>
                            <a class="btn btn-brand m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;bolder m-btn&#45;&#45;uppercase" href="javascript:collapseTree()">
                                <span><i class="flaticon-logout"></i><span>折 叠</span></span>
                            </a>
                            -->
                            <a class="btn btn-light-warning font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:initSysModeTable()">
                                <span><i class="fa fa-spin fa-refresh m-r-5"></i><span>刷 新</span></span>
                            </a>
                        </div>
                        <div class="col m--align-right">

                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<table id="table"></table>
<!-- 创建管理员页面模态框（Modal）开始 -->
<div class="modal fade" id="addAdminModal" tabindex="-1" role="dialog" aria-labelledby="addAdminModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered" id="addAdminDialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="addAdminModalLabel">
                    创建管理员
                </h4>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            </div>
            <div class="modal-body" id="addAdminBody">
                <div class="form-group m-form__group row">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <label class="col-form-label">级别</label>
                    <div class="col-lg-2">
                        <select class="form-control" maxlength="32" id="level">
                            <option value="2">子系统管理员</option>
                            <option value="1">全平台管理员</option>
                        </select>
                        <input type="hidden" name="sys_mode_id" id="sys_mode_id">
                    </div>
                    <a class="btn btn-light-primary m-btn m-btn--custom m-btn--icon" href="javascript:doAddAdmin()">
                        <span><i class="fa fa-pencil fa-lg"></i><span>保 存</span></span>
                    </a>
                </div>
                <div class="m-content">
                    <div class="m-portlet">
                        <div class="m-portlet__head">
                            <div class="m-portlet__head-caption">
                                <div class="m-portlet__head-title">
                                    <h3 class="m-portlet__head-text">
                                        <span class="m-accordion__item-icon"><i class="flaticon-user-ok"></i>查询区域</span>
                                    </h3>
                                </div>
                            </div>
                        </div>
                        <form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" method="POST" id="searchFormUnImportU">
                            <div class="m-portlet__body">
                                <input type="hidden" id="flag2" name="flag" value="2">
                                <input type="hidden" name="role_id" id="xt_role_id1">
                                <div class="form-group m-form__group row">
                                    <label class="col-form-label">账号</label>
                                    <div class="col-lg-2">
                                        <input type="text" class="form-control" name="account" placeholder="请输入">
                                    </div>
                                    <label class="col-form-label">姓名</label>
                                    <div class="col-lg-2">
                                        <input type="text" class="form-control" name="name" placeholder="请输入">
                                    </div>
                                    <label class="col-form-label">邮箱</label>
                                    <div class="col-lg-2">
                                        <input type="text" class="form-control" name="email" placeholder="请输入">
                                    </div>
                                    <label class="col-form-label">类型</label>
                                    <div class="col-lg-1">
                                        <select class="form-control" name="account_type_id" id="account_type_id_">
                                        </select>
                                    </div>
                                    <label class="col-form-label">状态</label>
                                    <div class="col-lg-1">
                                        <select class="form-control" name="status">
                                            <option value="">请选择</option>
                                            <option value="0">正常</option>
                                            <option value="1">锁定</option>
                                            <option value="2">禁用</option>
                                        </select>
                                    </div>
                                    <a href="javascript:search('AccountDatatables')" class="btn btn-light-primary font-weight-bold mr-2">
                                        <span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
                                    </a>
                                    <a href="javascript:resetAll('searchFormUnImportU')" class="btn btn-light-success m-btn m-btn--custom m-btn--icon">
                                        <span><i class="fa fa-repeat"></i><span>清空条件</span></span>
                                    </a>
                                </div>
                            </div>
                        </form>
                    </div>

                    <table id="AccountDatatables" class="table table-bordered table-striped table-hover">
                        <thead>
                        <tr>
                            <th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallUnImportU" /><span></span></label></th>
                            <th>序号</th>
                            <th>用户名</th>
                            <th>姓名</th>
                            <th>类型</th>
                            <th>电子邮件</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
            <!--<div class="modal-footer">
                <button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">关闭</button>
            </div>-->
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
<!-- 创建管理员页面模态框（Modal）结束 -->
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/include/inplug.js"></script>
<script type="text/javascript" src="/deng/view/oauth/oauth-admin/oauth-admin-list.js"></script>
<script type="text/javascript" src="/deng/view/oauth/oauth-admin/oauth-admin-add.js"></script>
<script type="text/javascript" src="/deng/view/oauth/oauth-admin/oauth-admin-update.js"></script>
<link href="/deng/source/plugins/other/bootstrap-table-treegrid/version_/assets/bootstrap-table.css" rel="stylesheet">
<script type="text/javascript" src="/deng/source/plugins/other/bootstrap-table-treegrid/version_/assets/bootstrap-table.js"></script>
<script type="text/javascript" src="/deng/source/plugins/other/bootstrap-table-treegrid/js/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="/deng/source/plugins/other/bootstrap-table-treegrid/version_/src/bootstraptable-treeview.js"></script>
<style>
    /* dataTables表头居中 */
    .table>thead:first-child>tr:first-child>th {
        text-align: left;
        background-color: #fff;
        font-weight: normal;
    }
    .fixed-table-container thead th .th-inner, .fixed-table-container tbody td .th-inner {
        padding: 8px;
        line-height: 24px;
        vertical-align: top;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .table>thead:first-child>tr:first-child>th p{
        text-align:left;
        font-weight:normal;
    }
    .table>tbody>tr>td {
        text-align:left;
    }
    .fixed-table-container .bs-checkbox {
        text-align:left;
    }
    /*.table>thead:first-child>tr:first-child>th {
        background-color: #fff;
    }*/
    .bootstrap-table .table {
        margin-bottom: 0 !important;
        border-bottom: 1px solid #ebedf2;
        border-collapse: collapse !important;
        border-radius: 1px;
    }
    .table-striped tbody tr:nth-of-type(odd) {
        background-color: #faf9fc;;
    }
    .fixed-table-container tbody td {
        border-left: 1px solid #ebedf2;
    }
    [class*=" la-"], [class^="la-"] {
        font-size: 1.1rem;
    }

    .bootstrap-table .table > thead > tr > th {
        border-bottom: 1px solid #ebedf2;
    }

    .fixed-table-container {
        position: relative;
        clear: both;
        border: 0px solid #dddddd;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
    }

    [class*=" flaticon-"], [class^=flaticon-] {
        font-size: 1.3rem;
        padding: 8px;
    }
    /*
        .bootstrap-table .table:not(.table-condensed), .bootstrap-table .table:not(.table-condensed) > tbody > tr > th, .bootstrap-table .table:not(.table-condensed) > tfoot > tr > th, .bootstrap-table .table:not(.table-condensed) > thead > tr > td, .bootstrap-table .table:not(.table-condensed) > tbody > tr > td, .bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
            padding-bottom: 20px;
            padding-top: 20px;
        }*/
</style>
</html>